package com.archie.xunji.guanzhu.peoples;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.AdapterView;
import android.widget.ListView;
import com.archie.xunji.R;
import com.archie.xunji.guanzhu.asyncs.GetPeopleDataAsync;

public class PeopleActivity extends Activity {

    private ListView listView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_people);

        listView = (ListView) findViewById(R.id.people_list);
        String url = "http://service.xunjimap.com/xunjiservice/account/greatuser?13C6A798430603841E78A7D985A7ECA1";
        new GetPeopleDataAsync(this,listView).execute(url);
        listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
            @Override
            public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
            }
        });
    }

}
